package com.xinxin.blockchain.constant;

/**
 * @author ys
 * @date 2021/5/20
 */
public interface RedisKeyConstant {

    /**
     * 缓存类
     */
    // 国家号码
    String COUNTRY_CODE = "country_code";
    // 账户密钥
    String ACCOUNT_SECRET = "account:secret:";
    // 系统配置
    String SYSTEM_CONFIG = "system:config:";

    /**
     * 业务类
     */
    // 短信验证码
    String CODE_MSG_SIGN_UP_IN = "code:msg:sign:";
    String CODE_MSG_VALIDATE = "code:msg:validate:";
    String CODE_MSG_RESET_PASSWORD = "code:msg:reset_password:";
}
